﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo
{
    [NHibernateEntity(Table = "apl_EnumValues")]
    public class EnumValue
    {
        public EnumValue() { }

        [PrimaryKey]
        public virtual int Id { get; set; }

        [Property]
        public virtual string Name { get; set; }

        [Property]
        public virtual string GroupName { get; set; }

        [Property]
        public virtual string Value { get; set; }

        [BelongsTo(Column = "ID_Enum")]
        public Enum Enum { get; set; }
    }
}
